1 <!-- Edit this file to change the layout of the detail view print preview page -->
2
3
4 <div
class="panel-heading"><h3 class="panel-title">
5     <strong><%%DETAIL_VIEW_TITLE%%></strong>
6     <div
class="hidden-print pull-right">
7         <div
class="btn-group">
8             <button type=
"button" id="print" onclick="window.print();" title="<%%TRANSLATION(Print)%%>" class="btn btn-primary"><i class="glyphicon glyphicon-print"></i> <%%TRANSLATION(Print)%%></button>
9             <button type=
"submit" id="back" title="<%%TRANSLATION(Cancel Printing)%%>" class="btn btn-default"><i class="glyphicon glyphicon-remove-circle"></i> <%%TRANSLATION(Cancel Printing)%%></button>
10         </div>
11     </div>
12     <div
class="clearfix"></div>
13 </h3></div>
14
15 <div
class="panel-body">
16     <fieldset
class="form-horizontal">
17         <div
class="form-group" style="border-bottom: dotted 1px #DDD;">
18             <label
class="col-xs-3 control-label">ID</label>
19             <div
class="col-xs-9">
20                 <div
class="form-control-static"><%%VALUE(id)%%></div>
21             </div>
22         </div>
23         <div
class="form-group" style="border-bottom: dotted 1px #DDD;">
24             <label
class="col-xs-3 control-label">Name</label>
25             <div
class="col-xs-9">
26                 <div
class="form-control-static"><%%VALUE(name)%%></div>
27             </div>
28         </div>
29     </fieldset>
30 </div>
31 <!-- child records -->
32 <div
class="panel-body">
33     <div id=
"schools-children"></div>
34 </div>
35
36 <script>
37     $j(function(){
38         
/* prevent loading child records in multiple DVP */
39         
if($j('[id=schools-children]').length > 1) return;
40
41         post(
42             
'parent-children.php', {
43                 ParentTable:
'schools',
44                 SelectedID:
'<%%VALUE(id)%%>',
45                 Operation:
'show-children-printable'
46             },
47             
'schools-children',
48             
'disable-element',
49             
'loading-element',
50             apply_persisting_children
51         );
52
53         $j(
'form').on('click', '#children-tabs button[data-target]', function(){
54             $j(
this).toggleClass('active');
55             persist_expanded_child($j(
this).attr('id'));
56         });
57     })
58 </script>



Hệ thống xếp lịch học tín chỉ cho sinh viên CNTT trên PHP & MySQL 112.088 lượt xem

Gõ tìm kiếm nhanh...